<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <title></title>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body>
    <span class="layui-breadcrumb" >
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_00')?></cite></a>
        <a href="<?=site_url('user')?>"><?=L('tpl_01')?></a>
    </span>
    <div class="layui-tab layui-tab-brief" >
        <ul class="layui-tab-title">
            <li> <a class="tablink" href="<?=site_url('user')?>"><?=L('tpl_02')?></a></li>
            <li class="layui-this"><?=L('tpl_03')?></li>
            <li><a class="tablink" href="<?=site_url('user/log')?>"><?=L('tpl_04')?></a></li>
        </ul>
    </div>
    <div class="layui-tab-content" style="min-height: 260px;">
        <form class="layui-form" action="<?=site_url('user/del')?>" method="post">
            <table class="layui-table">
                <thead>
                    <tr>
                        <th><?=L('tpl_uv_01')?></th>
                        <th class="phide"><?=L('tpl_uv_02')?></th>
                        <th><?=L('tpl_uv_03')?></th>
                        <th class="phide"><?=L('tpl_uv_04')?></th>
                        <th class="phide"><?=L('tpl_uv_05')?></th>
                        <th><?=L('tpl_uv_06')?></th>
                        <th><?=L('tpl_uv_07')?></th>
                    </tr>
                </thead>
                <tbody>
                <?php
                    if(empty($user)) echo '<tr><td align="center" height="50" colspan="7">'.L('tpl_uv_08').'</td></tr>';
                    foreach ($user as $row) {
                            echo '
                            <tr id="row_'.$row->id.'">
                            <td><input name="id['.$row->id.']" class="xuan" type="checkbox" value="'.$row->id.'" /></td>
                            <td class="phide">'.$row->id.'</td>
                            <td>'.$row->name.'</td>
                            <td class="phide">'.$row->email.'</td>
                            <td class="phide">'.$row->regip.'</td>
                            <td>'.date('Y-m-d H:i:s',$row->addtime).'</td>
                            <td class="basedb-more">
                                <a class="layui-btn layui-btn-mini" href="javascript:cscms.go_url(\''.site_url('user/verify_save').'?id='.$row->id.'&op=ok\');">'.L('tpl_uv_09').'</a>
                                <a class="layui-btn layui-btn-mini layui-btn-danger" href="javascript:cscms.go_url(\''.site_url('user/verify_save').'?id='.$row->id.'&op=no\');">'.L('tpl_uv_10').'</a>
                            </td>
                            </tr> ';
                    }
                ?>
                </tbody>
            </table>
            <div class="more_func">
                <a class="layui-btn layui-btn-primary layui-btn-small" href="javascript:cscms.select_all();"><i class="fa fa-check colorl" ></i><?=L('tpl_uv_11')?></a>
                <a class="layui-btn layui-btn-primary layui-btn-small" lay-submit lay-filter="del_pl"><i class="fa fa-close " style="color: red" ></i><?=L('tpl_uv_12')?></a>
            </div>
        </form>
        <div id="page">
            <div class="data_nums phide"><?=$page_data?></div>
            <div class="data_page"><?=$page_list?></div>
        </div>
    </div> 
    <script type="text/javascript">
        cscms.init();
    </script>
</body>
</html>